if rawget(GLOBAL, "RG_SetString") then 
	rawget(GLOBAL, "RG_SetString")()
else
	modimport "string_ch"
end


local fns = {}
function GLOBAL.RG_AddLoc(fn)
	table.insert(fns, fn)
end

AddSimPostInit(function()
	for _,fn in ipairs(fns)do
		fn()
	end
end)